package com.mainworks.model.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: HuangMinJie
 * @CreateDate: 2021/10/31 10:28
 * @Description:
 * @Version: 1.0.0.0
 * @ModifiedBy:
 * @ModifiedDate:
 * @ModifiedDescription:
 */

@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Data
@TableName("sys_role_jurisdiction")
public class SysRoleJurisdiction implements Serializable {
    /** 主键 */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /** 按钮ID */
    private String roleId;
    /** 权限ID */
    private String jurisdictionId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
}
